package com.ruoyi.storetags.domain;

import com.ruoyi.tags.domain.Tags;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商店标签关联对象 storetags
 *
 * @author ruoyi
 * @date 2024-06-28
 */
public class Storetags extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 关联id */
    private Long storetagId;

    /** 商店id */
    @Excel(name = "商店id")
    private Long storeId;

    /** 标签id */
    @Excel(name = "标签id")
    private Long tagId;

    private Tags tags;

    public Tags getTag() {
        return tags;
    }

    public void setTag(Tags tags) {
        this.tags = tags;
    }
    public void setStoretagId(Long storetagId)
    {
        this.storetagId = storetagId;
    }

    public Long getStoretagId()
    {
        return storetagId;
    }
    public void setStoreId(Long storeId)
    {
        this.storeId = storeId;
    }

    public Long getStoreId()
    {
        return storeId;
    }
    public void setTagId(Long tagId)
    {
        this.tagId = tagId;
    }

    public Long getTagId()
    {
        return tagId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("storetagId", getStoretagId())
            .append("storeId", getStoreId())
            .append("tagId", getTagId())
            .toString();
    }
}
